﻿//#include "TestAlgorithmOne.h"
#include "TraversalFiles.h"

int main()
{
    //testAlgorithm();

    TraversalFiles traversal;
    //遍历单个目录
    //int file_num = 0;
    //D:\GoodWork\HongHuo\src\TestAlgorithm
//    if(!traversal.TraverseFiles("D:/GoodWork/HongHuo/src",file_num))  //此处路径连接符只能用/，根盘符大小写都行
//    {
//        cout<<"traverse files failed"<<endl;
//    }
//    cout<<"-------------------\n"<<"file number: "<<file_num<<endl;

    //递归遍历文件夹
    //traversal.DfsFolder("D:/GoodWork/HongHuo/src/TestAlgorithm",0);

    traversal.TraverseFilesWithQueue("D:/tcWorkSpace/HongHuo/src");
    getchar();
    return 0;
}
